import Vue from "vue"
import Vuex from "vuex"
import mutations from "./mutations"
import getters from "./getters"
import actions from "./actions"
Vue.use(Vuex)
const state = {
    // 动画开关
    loeding:false,
    selectDefalutValue:'',
    isTrueSilde:false,
    iconIsTrue:false,
    themeColor:"#1890ff",
    qianBackground:"#e6f7ff",
    BaseUrl:`${location.protocol}//${location.host}/api`,
}
const store = new Vuex.Store({
    state,actions,
    mutations:{
        setDefaultValue(state,value) {
            state.selectDefalutValue = value
        }
    },
   
})
export default store